a = {}
for i = 1,1000 do a[i] = i * 2 end
print(a[9])
a['name'] = "zs"
print(a.name)
a['0'] = 10
-- 索引有无不会自动转换
print(a[0],a['0'])
-- 数值型统一
a[2.0] = 10
print(a[2])